public class Homework_02{
    public static void main(String[] args){
        for (double i = 0.0; i < 5; i++) { // 改为 double 类型
            System.out.print(i);
            i *= 0.1;
        }
    System.out.println("循环结束");
    }
}